package it.lovaex.scb.model;

import java.math.BigDecimal;

public class Item implements IItem {

	private String name;
	private String description;
	private BigDecimal price;
	
	public Item(String name, BigDecimal price){
		this.name = name;
		this.price = price;
	}
	
	@Override
	public String getName() {
		return name;
	}

	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public BigDecimal getPrice() {
		return price;
	}
	
	void setPrice(BigDecimal price){
		this.price = price;
	}

	@Override
	public String getItemCode() {
		return "NotDiscountedItem";
	}
}
